%%-*- mode: erlang -*-
%% emqx_data_bridge config mapping

{mapping, "emqx_data_bridge.bridges", "emqx_data_bridge.bridges", [
  {default, []},
  {datatype, string}
]}.

% fields("emqx_data_bridge") ->
%     [
%         {bridges,
%           [fun(mapping) -> "emqx_data_bridge.bridges";
%               (type) -> list();
%               (_) -> undefined
%            end]}
%     ]